<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="../common/jspcommon.jsp"%>
<script type="text/javascript">
<!--
function aminManage(type) {
	switch (type) {
	case '1': {
		//alert(111);
		$('#admin_content').load("/misc/admin/user.htm");
		break;
	}
	case '2': {
		$('#admin_content').load("/misc/admin/role.htm");
		break;
	}
	case '3': {
		$('#admin_content').load("/misc/admin/resource.htm");
		break;
	}
	case '4': {
		$("#admin_content").html("正在清理中......");
		$.post("/misc/admin/correctImg.htm",function(data){
			if(data=='success'){
				$("#admin_content").html("清理完毕！");
			}
		});
		break;
	}
	}
}
//-->
</script>

<div>
	<div id="admin_menu">
		<a href="javascript:void(0);" onclick="aminManage('1')">用户管理</a>&nbsp;|&nbsp;
		<a href="javascript:void(0);" onclick="aminManage('2')">角色管理</a>&nbsp;|&nbsp;
		<a href="javascript:void(0);" onclick="aminManage('3')">资源管理</a>&nbsp;|&nbsp;
		<a href="javascript:void(0);" onclick="aminManage('4')">订正图片</a>
	</div>
	<div id="admin_content">${ret }</div>
</div>
